<?php
class Zend_View_Helper_BlogRss {
	protected $_view;
	function setView($view) { 
		$this->_view = $view; 
	} 
	
	/*
	 * */
	function blogRss() {
		$feed = Zend_Feed_Reader::import('http://heyidlebooks.wordpress.com/rss/');		
	   	$this->_view->feed= $feed;
       	$out = $this->_view->render('/index/BlogRss.phtml');
       	return $out;
	}
}
?>